/**
 * @author Jon Adams
 */
package org.osflash.signals.natives.sets;

import org.osflash.signals.natives.NativeSignal;
import flash.events.TimerEvent;
import flash.utils.Timer;

class TimerSignalSet extends EventDispatcherSignalSet {
	public var timer(getTimer, never) : NativeSignal;
	public var timerComplete(getTimerComplete, never) : NativeSignal;

	public function new(target : Timer) {
		super(target);
	}

	public function getTimer() : NativeSignal {
		return getNativeSignal(TimerEvent.TIMER, TimerEvent);
	}

	public function getTimerComplete() : NativeSignal {
		return getNativeSignal(TimerEvent.TIMER_COMPLETE, TimerEvent);
	}

}

